package com.haisen.dataobject.dto;


import lombok.Data;

import java.math.BigDecimal;

@Data
public class RankDto {

    private String dingUserId;
    private String cdate;
    private String username;
    private BigDecimal score;

    public void setScore(BigDecimal score) {
        this.score = score.setScale(2,BigDecimal.ROUND_HALF_UP);
    }
}
